/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gui;

import database.Database;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;

/**
 *
 * @author Scott
 */
public class RosterListener implements ActionListener{
    
    RosterDialog rd;
    private Database db;
    private JFrame mainFrame;
    private RosterListPanes rlp;

    public RosterListener(Database db, JFrame main){
        this.db = db;
        this.mainFrame = main;
        rlp = new RosterListPanes(this.db);

    }

    public void actionPerformed(ActionEvent e) {
          rd = new RosterDialog(this.db, this.mainFrame, rlp);

    }


}
